package pers.wensheng.patterns.structural_pattern.bridge_pattern;

import lombok.AllArgsConstructor;
import pers.wensheng.patterns.structural_pattern.bridge_pattern.entity.VideoFile;

/**
 * 抽象的操作系统类
 * 抽象化角色
 */
@AllArgsConstructor
public abstract class OperatingSystem {
    /**
     * 声名VideoFile变量
     */
    protected VideoFile videoFile;

    /**
     * 播放视频
     * @param fileName
     */
    public abstract void play(String fileName);
}
